portal: Use the right mimetype for file transfers
authorMatthias Clasen <mclasen@redhat.com>
Thu, 15 Sep 2022 18:55:55 +0000 (14:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 15 Sep 2022 19:18:17 +0000 (15:18 -0400)
commit32f55a74b0ced2140a2158479a4dd719e1ab696e
tree6272b742482de27e25f493fb01a47a8e0c9946ab
parentb9b2ac2ce37870f6eb283e089e33d3ab98e2970b
portal: Use the right mimetype for file transfers

The filetransfer protocol says to use
application/vnd.portal.filetransfer, but I used
application/vnd.portal.files when I implemented the
protocol. Oops.

This commit dds the correct mimetype, but we still
support the old one to preserve interoperatibility
with existing flatpaks using GTK 4.6.

Fixes: #5182
gdk/filetransferportal.c